32. chgrp and chown

chgrp and chown

Errata

The .bash_history file is created by the bash shell the first time you log out of your Linux system. This means that if you are logging into the system for the first time, it won't have been created yet. If you log out and log back in (e.g. vagrant ssh if you're using Vagrant here) then the file will be created.

You can also experiment with chown and chgrp using another file. To create an empty file named testfile, use the command touch testfile.